import React from 'react'
import themes from '../app/themes'

type Props = {
  disabled?: boolean
}

const ShortIcon: React.FC<Props> = ({ disabled }) => {
  const strokeColor = disabled ? themes.standard.colors.accent : themes.standard.colors.loss

  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width="17.133"
      height="10.79"
      viewBox="0 0 17.133 10.79"
    >
      <g fill="none" strokeLinecap="round" strokeLinejoin="round">
        <path d="M16.093,9.75l-4-6-4,2-4-5L.9,1.469" stroke="none" />
        <path
          d="M 16.09370994567871 10.50007915496826 C 16.12944984436035 10.50007915496826 16.16528701782227 10.49752998352051 16.20093536376953 10.4923734664917 C 16.2365837097168 10.48721694946289 16.27204322814941 10.47945404052734 16.30703353881836 10.46902751922607 C 16.34202194213867 10.4586009979248 16.37653923034668 10.4455099105835 16.41030120849609 10.42969703674316 C 16.44406318664551 10.41388511657715 16.47706985473633 10.39535140991211 16.5090389251709 10.37403964996338 C 16.59520149230957 10.31659698486328 16.6656436920166 10.24441242218018 16.71925163269043 10.16306114196777 C 16.77285766601562 10.08171081542969 16.80963134765625 9.991192817687988 16.82845306396484 9.897085189819336 C 16.84727478027344 9.802977561950684 16.84814643859863 9.705280303955078 16.82995223999023 9.60956859588623 C 16.81175804138184 9.513856887817383 16.77449798583984 9.420132637023926 16.7170581817627 9.333970069885254 L 12.71705913543701 3.333970069885254 C 12.68123435974121 3.280234575271606 12.6395320892334 3.23248815536499 12.59331893920898 3.191095113754272 C 12.54710578918457 3.149702072143555 12.49638366699219 3.114662170410156 12.44251823425293 3.086338996887207 C 12.38865375518799 3.058015823364258 12.33164691925049 3.036409616470337 12.27286720275879 3.021884202957153 C 12.21408653259277 3.00735878944397 12.15353298187256 2.999914169311523 12.09257316589355 2.999914169311523 C 12.0642786026001 2.999914169311523 12.03589916229248 3.001516580581665 12.00757026672363 3.004758358001709 C 11.97924041748047 3.007999897003174 11.95096206665039 3.012880802154541 11.92286777496338 3.019437313079834 C 11.89477348327637 3.025993824005127 11.86686515808105 3.034226179122925 11.83927726745605 3.044171094894409 C 11.81168937683105 3.054116010665894 11.78442096710205 3.065773487091064 11.75760841369629 3.079180002212524 L 8.299909591674805 4.808030128479004 L 4.678668975830078 0.2814800143241882 C 4.642638206481934 0.2364412546157837 4.602075576782227 0.1963276267051697 4.557985305786133 0.1614915132522583 C 4.513895034790039 0.1266554594039917 4.466278076171875 0.09709692001342773 4.416136741638184 0.07316815853118896 C 4.365995407104492 0.04923945665359497 4.313331604003906 0.03094065189361572 4.259148597717285 0.018623948097229 C 4.204965591430664 0.006307244300842285 4.149263381958008 -2.723932266235352e-05 4.093047142028809 -2.723932266235352e-05 C 4.079380989074707 -2.723932266235352e-05 4.065685272216797 0.0003468990325927734 4.051974296569824 0.001100361347198486 C 4.038263320922852 0.001853823661804199 4.0245361328125 0.002986609935760498 4.010807991027832 0.004503726959228516 C 3.997079849243164 0.006020843982696533 3.983348846435547 0.007922351360321045 3.969631195068359 0.01021337509155273 C 3.955913543701172 0.01250433921813965 3.942207336425781 0.01518487930297852 3.928528785705566 0.01826000213623047 L 0.7317485809326172 0.7368900179862976 C 0.6307163238525391 0.7596024870872498 0.5390691757202148 0.8017150163650513 0.4598484039306641 0.8584225177764893 C 0.3806285858154297 0.9151300191879272 0.3138351440429688 0.9864325523376465 0.2625102996826172 1.067525029182434 C 0.2111845016479492 1.148617506027222 0.1753273010253906 1.239500045776367 0.1579780578613281 1.335367441177368 C 0.1406288146972656 1.431235074996948 0.1417884826660156 1.532087564468384 0.1644992828369141 1.633120059967041 C 0.1840982437133789 1.72030246257782 0.2181472778320312 1.800496101379395 0.2635574340820312 1.871747016906738 C 0.3089675903320312 1.942998051643372 0.3657379150390625 2.005306243896484 0.4307785034179688 2.056717395782471 C 0.495819091796875 2.108128786087036 0.5691308975219727 2.148643255233765 0.6476230621337891 2.17630672454834 C 0.7261161804199219 2.203970432281494 0.8097896575927734 2.218783140182495 0.8955535888671875 2.218791007995605 C 0.9091787338256836 2.218792200088501 0.9228515625 2.218419790267944 0.9365634918212891 2.217665910720825 C 0.9502754211425781 2.216912031173706 0.9640254974365234 2.215776681900024 0.9778041839599609 2.21425199508667 C 0.9915828704833984 2.212727546691895 1.005389213562012 2.210813522338867 1.01921272277832 2.208502292633057 C 1.033037185668945 2.206191301345825 1.046878814697266 2.203483104705811 1.060729026794434 2.200369834899902 L 3.800189018249512 1.584544658660889 L 7.507369041442871 6.218520164489746 C 7.543924331665039 6.264215469360352 7.584941864013672 6.304657936096191 7.629377365112305 6.339617729187012 C 7.673813819885254 6.374577522277832 7.721668243408203 6.404055595397949 7.771894454956055 6.427822113037109 C 7.822120666503906 6.45158863067627 7.874719619750977 6.469643592834473 7.928645133972168 6.481758117675781 C 7.982570648193359 6.493872165679932 8.037823677062988 6.500045776367188 8.093358993530273 6.500049114227295 C 8.121729850769043 6.500051498413086 8.150173187255859 6.498443126678467 8.178548812866211 6.495193481445312 C 8.206925392150879 6.491944313049316 8.235235214233398 6.487054347991943 8.263341903686523 6.48049259185791 C 8.291447639465332 6.473930835723877 8.31934928894043 6.465697288513184 8.34691047668457 6.455761909484863 C 8.374470710754395 6.445827007293701 8.401689529418945 6.434189796447754 8.428428649902344 6.420820236206055 L 11.83623695373535 4.716916084289551 L 15.46897888183594 10.16602993011475 C 15.50510787963867 10.22022247314453 15.5470724105835 10.26819610595703 15.59348201751709 10.30967426300049 C 15.63989162445068 10.35115242004395 15.69074726104736 10.38613510131836 15.74465942382812 10.41434288024902 C 15.7985725402832 10.44255065917969 15.85554122924805 10.46398448944092 15.91417980194092 10.47836685180664 C 15.97281742095947 10.49274826049805 16.03312492370605 10.50007915496826 16.09370994567871 10.50007915496826 Z"
          stroke="none"
          fill={strokeColor}
        />
      </g>
    </svg>
  )
}

export default ShortIcon
